home *** CD-ROM | disk | FTP | other *** search
- Path: news.itd.umich.edu!usenet
- From: Chris Lahey <clahey@umich.edu>
- Newsgroups: comp.lang.c
- Subject: Re: Very Beginner Question with Think C
- Date: 25 Jan 1996 02:09:06 GMT
- Organization: University of Michigan
- Message-ID: <4e6oo2$l1e@lastactionhero.rs.itd.umich.edu>
- References: <tkuntz-2401961743180001@arctic-0.vf.pond.com>
- NNTP-Posting-Host: rep00703.reshall.umich.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.12 (X11; I; Linux 1.2.13 i586)
- X-URL: news:tkuntz-2401961743180001@arctic-0.vf.pond.com
-
- Link failed: can mean many different things. The linker should theoretically
- give you more information. The first thing I would do is check to make sure
- you have a project open. THINK C requires you to have a project file to link
- anything (This is a good thing.) If you do have a project open you should
- check to make sure you have one and only one function called main. The two
- most
- likely things to cause you to not meet this requirement are that you haven't
- included your source file in the project or that you haven't removed something
- that should be removed. If you see main(); in any other file, this may be the
- problem file.
-
- I hope this helps. Good Luck.
- Chris
-
-